<ion-header>
  <ion-navbar color="primary">
    <ion-title>
      实时数据/历史数据
    </ion-title>
  </ion-navbar>
</ion-header>


<ion-content>
    <!-- <ion-searchbar (ionInput)="getItems($event)"  placeholder="搜索"></ion-searchbar>
    <div class="search_list" *ngIf="show">
        <ul>
          <li *ngFor="let item of search" (click)="itemSelected(item.data)">{{item.label}}</li>
        </ul>
    </div> -->
<div padding>
    <ion-list style="margin-bottom:0;">
        <ion-item>
          <ion-label>传感器类型</ion-label>
          <ion-select [(ngModel)]="gaming" cancelText="取消" okText="确定">
            <ion-option value="tension-em" >磁通量</ion-option>
            <ion-option value="tension-fb">光纤光栅</ion-option>
            <ion-option value="stress">应力</ion-option>
          </ion-select>
        </ion-item>
      </ion-list>
      
      <ion-card *ngFor="let item of data" (click)="itemSelected(item.data)">

        <button  ion-item  style="background-color:#3462ac">
              <ion-row>
                <ion-col col-6 text-center  text-left>
                </ion-col>
                <ion-col col-6 text-center  text-left>
                  <span style="color:#fff"> {{item.label}}</span>
                  </ion-col>
              </ion-row>
          </button>
      </ion-card>
</div>





</ion-content>
